export type typeObject<T = any> = { [k: string]: T }

export interface apiDataType extends typeObject<string | number> {
    page: number,
    pageSize: number,
}

export type apiIdType = string


export type operatedType = ({type, data}: { type: 'edit' | 'delete', data: typeObject<any> }) => void

export type rightBoxSubmit = (data: object) => void